"""
@Type doc
@Author xjp
@CreateDate 2025-01-17_10:52:39
@Description 预处理数据
@Version v1.0
@Copyright Copyright (c) 2025 by xiaoxiang ,ALL Rights Reserved
"""

import json

"""
@Type class
@Author xjp
@CreateDate 2025-01-17_10:53:00
@Description 预处理数据类 
"""
class PreData:
    
    def __init__(self):
        pass

    
    """
    @Type function
    @Author xjp
    @CreateDate 2025-01-17_15:58:50
    @Description 
    @Param 
    @Return 
    """
    def readLogData(self, path:str):
        if path ==None or path == "":
            return None
        with open(path, 'r', encoding= "utf-8") as fin:
            res = json.dumps(fin)
        return res